package com.piece.mall.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@ApiModel(value = "提交订单数据")
public class OrderSubmitVo {

    @ApiModelProperty(value = "收获地址ID")
    private Long addressId;

    @ApiModelProperty(value = "收获地址")
    private String addressName;

    @ApiModelProperty(value = "付款渠道")
    private String payChannel;

    @ApiModelProperty(value = "渠道类别")
    private String channelCode;

    @ApiModelProperty(value = "防重令牌")
    private String token;

    @ApiModelProperty(value = "支付主题")
    private String subject;

    @ApiModelProperty(value = "支付描述")
    private String body;

    @ApiModelProperty(value = "应付价格")
    private BigDecimal payPrice;

    @ApiModelProperty(value = "购物车数据")
    private List<CartItemVo> carts;

    @ApiModelProperty(value = "订单备注")
    private String remarks;
}
